﻿<!-- "script/apps/Aries/Creator/Game/Movie/CopyActorTimeSeries.html" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
<pe:mcml>
<script refresh="false" type="text/npl" src="CopyActorTimeSeries.lua"><![CDATA[
CopyActorTimeSeries = commonlib.gettable("MyCompany.Aries.Game.Movie.CopyActorTimeSeries");
CopyActorTimeSeries.OnInit();
]]></script>
<aries:window mode="thin" style="width:512px;" title='<%=L"复制关键帧"%>' uiname_onclose="CopyActorTimeSeries.OnClose" onclose="CopyActorTimeSeries.OnClose">
<div style="margin: 10px; margin-bottom: 15px; color: #ffffff;">
    <pe:gridview name="nameGvw" style="height:260px;" DataSource="<%=CopyActorTimeSeries.GetDs%>" CellPadding="0" DefaultNodeHeight = "34" ItemsPerLine="3" AllowPaging="false" pagesize="512">
        <Columns>
            <div style="float:left;height:30px;min-width:120px;color:#ffffff">
                <input name="<%=Eval('name')%>" uiname='<%="CopyActorTimeSeries.Key."..Eval("name")%>' type="checkbox" checked="<%=Eval('checked') and 'true'%>" style="margin-top:2px;" onclick="CopyActorTimeSeries.ToggleVariable" />
                <div style="float:left;margin-left:2px;" ><%=Eval("displayName")%></div>
            </div>
    	</Columns>
    </pe:gridview>
    <div style="margin-left:200px;margin:5px;">
        <input name="isRelativePos" type="checkbox" checked="<%=CopyActorTimeSeries.isRelativePos and 'true'%>"  style="margin-top:2px;"/>
        <div style="float:left;margin-left:2px;" for="isRelativePos"><%=L"相对位置"%></div>
        <input name="selectAll" uiname="CopyActorTimeSeries.selectAll" type="checkbox" checked="<%=CopyActorTimeSeries.isSelectAll and 'true'%>"  onclick="CopyActorTimeSeries.ToggleSelect" style="margin-top:2px;margin-left:20px;"/>
        <div style="float:left;margin-left:2px;" for="selectAll"><%=L"全选/全取消"%></div>
    </div>
    <hr />
    <div style="margin-top:5px;height:60px;">
        <div style="position:relative;">
            <div style="margin-top:4px;margin-left:5px;float:left;padding:2px;background:url(Texture/Aries/Creator/Theme/GameCommonIcon_32bits.png#308 89 34 34)">
                <pe:mc_block block_id='<%=CopyActorTimeSeries.GetItemStack().id%>' style="width:32px;height:32px;" tooltip=""/>
            </div>
            <div style="float:left;width:160px;margin-left:10px;">
                <div>
                    <div style="float:left"><%=L"名称:"%></div>
                    <%=tostring(CopyActorTimeSeries.GetItemStack():GetDisplayName() or "")%>
                </div>
                <div style="color:#808080">
                    <%=tostring(CopyActorTimeSeries.GetActor():GetValue("assetfile", 0) or "")%>
                </div>
            </div>
            <div style="float:left;margin-left:10px;">
                <div>
                    <div style="float:left"><%=L"起始帧:"%></div>
                    <input uiname="CopyActorTimeSeries.fromTime" name="fromTime" value="0" style="width:60px"/>
                </div>
                <div>
                    <div style="float:left"><%=L"结束帧:"%></div>
                    <input uiname="CopyActorTimeSeries.toTime" name="toTime" value="" style="width:60px"/>
                </div>
            </div>
        </div>
        <input type="button" uiname="CopyActorTimeSeries.OK"  name="OK" DefaultButton="true" align="right" style="margin-top:5px;margin-right:30px;min-width:70px;" class="mc_light_grey_button_with_fillet" onclick="CopyActorTimeSeries.OnClickCopy" value='<%=L"复制"%>' />
    </div>
</div>
</aries:window>
</pe:mcml>
</body>
</html>